Skip to main content

WeightedAdjacencyMatrix

WeightedAdjacencyMatrix[g] gives the adjacency matrix of edge weights of the graph g.

WeightedAdjacencyMatrix[{v->w,…}] uses rules v->w to specify the graph g.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.